package com.qijian.maindata.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qijian.maindata.domain.ProjectSchedule;
import com.qijian.maindata.domain.vo.ProjectScheduleSimpleProjectVo;
import com.qijian.maindata.domain.vo.ProjectScheduleVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 计划排产Mapper接口
 *
 * @author qijian
 * @date 2024-05-13
 */
public interface ProjectScheduleMapper extends BaseMapper<ProjectSchedule> {

    List<ProjectScheduleVo> getPlanListByProjectId(@Param("projectId") Long version);

    List<ProjectScheduleSimpleProjectVo> getSimpleProjectList(@Param("projectId") Long projectId,
                                                              @Param("version") Long version,
                                                              @Param("params") Map<String,Object> params
                                                              );
}
